<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-type-add">
            <div class="form-group">
                <label class="col-sm-3 control-label">游戏名称：</label>
                <div class="col-sm-8">
                    <div class="radio-box" th:each="dict : ${@dict.getType('game_name_arr')}">
                        <input type="radio" th:id="${'gameName_' + dict.dictCode}" name="gameName" th:value="${dict.dictValue}" th:checked="${dict.default}">
                        <label th:for="${'gameName_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">赔率类型：</label>
                <div class="col-sm-8">
                    <div class="radio-box" th:each="dict : ${@dict.getType('match_order_type')}">
                        <input type="radio" th:id="${'matchOrderType_' + dict.dictCode}" name="matchOrderType" th:value="${dict.dictValue}" th:checked="${dict.default}">
                        <label th:for="${'matchOrderType_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                    </div>
                </div>
            </div>
            <!--<div class="form-group">
                <label class="col-sm-3 control-label">赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="matchType" class="form-control m-b" type="text">
                    &lt;!&ndash;<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>&ndash;&gt;
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">赔率中文名：</label>
                <div class="col-sm-8">
                    <input name="matchTypeCh" class="form-control" type="text">
                </div>
            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷电竞赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="ldjMatchName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷电竞场次：</label>
                <div class="col-sm-8">
                    <input name="ldjOrder" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">亚博赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="ybMatchName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">亚博场次：</label>
                <div class="col-sm-8">
                    <input name="ybOrder" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷火赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="lhMatchName" class="form-control" type="text">
                </div>
            </div>
            <!--<div class="form-group">
                <label class="col-sm-3 control-label">雷火场次类型：</label>
                <div class="col-sm-8">
                    <input name="lhOrderType" class="form-control" type="text">
                    &lt;!&ndash;<select name="lhOrderType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>&ndash;&gt;
                    &lt;!&ndash;<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>&ndash;&gt;
                </div>
            </div>-->
            <!--<div class="form-group">
                <label class="col-sm-3 control-label">雷火场次：</label>
                <div class="col-sm-8">
                    <input name="lhOrder" class="form-control" type="text">
                </div>
            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/type"
        $("#form-type-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-type-add').serialize());
            }
        }
    </script>
</body>
</html>